import {request} from "../common/js/request.js"
// 查询所有用户
export function listUsers(data){
	return request({
		url:'/admin/users',
		method:'get',
		data
	})
}
// 添加员工
export function addEmployee(data){
	return request({
		url:'/admin/addEmployee',
		method:'post',
		data
	})
}
// 删除员工
export function deleteEmployee(data){
	return request({
		url:'/admin/deleteEmployee',
		method:'delete',
		data
	})
}
